<?php
if(!Authenticate::isLogin()){
	throw new Exception('You not login');
}
$invoices = Invoice::getInvoiceByAccount(Authenticate::getId());
View::display('user/menu');
View::display('user/invoice', array('invoices'=> $invoices));